<%@ Page language="vb" EnableViewStateMac="true" Inherits="_2bMatesSite.change_password" CodeFile="change_password.aspx.vb" CodeFileBaseClass="_2bMatesSite.BaseWebPage" %>
<form id="Form1" method="post" runat="server">
	<table border="0" cellpadding="0" cellspacing="0" width="100%" align="center" height="100%">
		<tr>
			<td class="page_title" colspan=3><asp:literal id="litTitle" runat=server>Change Password</asp:literal></td>
		</tr>	
		<tr>
			<td valign="top" height="100%" class="main_table_border"><!-- width="556" -->
				<div class="content">
					<table cellSpacing="0" cellPadding="1" width="100%" border="0" class="main_text_form">
						<tr>
							<td id="error" colSpan="2"><asp:validationsummary id="ValidationSummary1" runat="server" ForeColor="#F04C03" DisplayMode="List" CssClass="val_summary" Height="32px"></asp:validationsummary></td>
						</tr>
						<tr>
							<td width="30%"><asp:label id="lblCurrentPass" runat="server"><b><asp:Label id="lblCurPass" runat=server>Current Password:</asp:label></b><br></asp:label></td>
							<td align="left" width="70%"><asp:textbox id="txtCurrentpass" runat="server" CssClass="mail_field" MaxLength="50" TextMode="Password"
									ToolTip="password"></asp:textbox><asp:requiredfieldvalidator id="rvCurrentpass" runat="server" ControlToValidate="txtCurrentpass" Display="None"
									ErrorMessage="Please enter your Current Password"></asp:requiredfieldvalidator><asp:customvalidator id="cvCurrentPassValid" runat="server" ControlToValidate="txtCurrentpass" Display="None"
									ErrorMessage="Please enter valid current password"></asp:customvalidator></td>
						</tr>
						<tr>
							<td vAlign="middle"><b><asp:label id="lblNewPass" runat="server">New Password:</asp:label></b><br></td>
							<td align="left"><asp:textbox id="txtNewpass" runat="server" CssClass="mail_field" MaxLength="50" TextMode="Password"
									ToolTip="password"></asp:textbox><asp:requiredfieldvalidator id="rvNewpass" runat="server" ControlToValidate="txtNewpass" Display="None" ErrorMessage="Please enter your New Password"></asp:requiredfieldvalidator><asp:comparevalidator id="cvComparePass" runat="server" ControlToValidate="txtNewpass" Display="None"
									ErrorMessage="Please check your new password" ControlToCompare="txtConfirmNewPass"></asp:comparevalidator></td>
						</tr>										
						<tr>
							<td vAlign="middle"><b><asp:label id="lblConfirmNewPass" runat="server">Confirm New Password:</asp:label></b><br></td>
							<td align="left"><asp:textbox id="txtConfirmNewPass" runat="server" CssClass="mail_field" MaxLength="50" TextMode="Password"
									ToolTip="password"></asp:textbox><asp:requiredfieldvalidator id="rvConfirmpass" runat="server" ControlToValidate="txtConfirmNewPass" Display="None"
									ErrorMessage="Please Confirm  your New Password"></asp:requiredfieldvalidator></td>
						</tr>
						<tr>
							<td>&nbsp;</td>
							<tdalign="left" valign="top" height="10"><asp:Label id="lblPassLimit" runat=server>(Password max 10 characters)</asp:label></td>
						</tr>
						<tr>
							<td>&nbsp;</td>
							<td><asp:button id="btnSave" runat="server" CssClass="btn" Text="Save"  onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);" onclick="btnSave_Click"></asp:button>&nbsp;&nbsp;<asp:button id="btnCancel" runat="server" CssClass="btn" Text="Cancel" CausesValidation="False"  onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);" ondatabinding="btnCancel_Click" onclick="btnCancel_Click"></asp:button></td>
						</tr>
					</table>
				</div>
			</TD>
			<!-- BEGIN SKYSCRAPER ADVERTISEMENT -->	
			<!--
			<td class="small" width="10">&nbsp;</td>
			<td class="border_adv" vAlign="top" width="203" height="100%">
					<table cellSpacing="1" cellPadding="0" width="100%" border="0">
							<tr>
									<td class="small" width="10">&nbsp;</td>
									<td class="advertisement" width="199"><asp:Literal id="litSkyscraperAdvertisement" runat=server></asp:literal></td>
							</tr>
					</table>
			</td>-->
			<!-- END SKYSCRAPER ADVERTISEMENT -->
		</TR>
	</TABLE>
</form>
